//
//  DetailViewController.h
//  TodoDemo
//
//  Created by Tank on 16/2/21.
//  Copyright © 2016年 qtone. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TodoModel.h"

@protocol DetailViewControllerDelegate <NSObject>

- (void)doneTodoData:(TodoModel *)todoModel indexPath:(NSIndexPath *)indexPath;
- (void)deleteTodoData:(TodoModel *)todoModel indexPath:(NSIndexPath *)indexPath;

@end

@interface DetailViewController : UIViewController

@property (nonatomic, strong) TodoModel *todoDetailModel;
@property (nonatomic, strong) NSIndexPath *indexPath;
@property (nonatomic, assign) id<DetailViewControllerDelegate> delegate;

@end
